Corrected object instantiation for ContentView.