Add a method for getting UIViewController.