Create view hierarchy in the UI compiler.