Removed type method from nodes.