             //            parser.resolve(AnyClass.self, name: self.rawValue)
             
             let nodeTuple = nodeParser(container: container, node: child, key: key, options: options)
+            
+            // TODO: use options to set ObjectScope (default to .Container?)
             
             // TODO: recursively resolve non-final types in tuple:
             // - i.e. if some monad returns instead of concrete value,

            }
        }
        
        // TODO: decide whether more complicated, nested layouts should be allowed
        if let packedLayout = elem.attributes["packed-layout"] where NSString(string: packedLayout).boolValue {
            vertexDesc.setPackedOffsets()

        }
    }
    
    public class func initParser(parser: Container) -> Container {
        //TODO: how to ensure that typing is consistent?
        // return [fnParse -> Any, fnCast -> MDLType] // this may work
        
