More work on view hierarchy