                         }.inObjectScope(.None)
                 case .Mesh:
                     let meshNode = MeshNode()
-                    meshNode.parse(container, elem: child, options: options)
+                    meshNode.parseXML(container, elem: child, options: options)
                     let meshGen = container.resolve(MeshGenerator.self, name: meshNode.generator)!
                     let mesh = meshGen.generate(container, args: meshNode.args)
                     container.register(MDLMesh.self, name: key!) { _ in
                         // TODO: don't copy meshes?
                         return mesh
-                    }.inObjectScope(.None)
+                        }.inObjectScope(.None)
                 case .MeshGenerator:
                     let meshGenNode = MeshGeneratorNode()
                     meshGenNode.parseXML(container, elem: child, options: options)
                     let meshGen = meshGenNode.createGenerator(container, options: options)
                     container.register(MeshGenerator.self, name: key!) { _ in
                         return meshGen.copy(container)
-                    }
+                        }.inObjectScope(.None)
                 case .Camera:
                     let camera = SpectraXMLCameraNode().parse(container, elem: child, options: options)
                     container.register(MDLCamera.self, name: key!) { _ in

                    } else {
                        let obj = SpectraXMLObjectNode().parse(container, elem: el, options: options)
                        if let key = objKey {
                            container.register(MDLObject.self, name: key) { _ in return obj }
                        }
                        object.addChild(obj)
                    }

                    } else {
                        let cam = SpectraXMLStereoscopicCameraNode().parse(container, elem: el, options: options)
                        if let key = objKey {
                            container.register(MDLStereoscopicCamera.self, name: key) { _ in
                                return SpectraXMLStereoscopicCameraNode.copy(cam)
                            }
                        }
                    }
                    
