Added expand method to Node.