Refactor ContentView ctor.