Protected object in MainWindow