Removed redundant root view creation.