Support for defining attributes on a node_type