'elements' is now an array of subdocs rather than of references to a separate schema type.