Allow setting parent view.