refactoring renderable hierarchy.