Added to_a, last_node, and data methods