Added node.assign types method