Syntactic characterisations of amalgamation, convexity and related properties