Moved view hierarchy management functions to their own section.