Added additional methods to generic tree node and frame factory