added functions to create embedded objects, and to retrieve list of embedded object types