Add base method to XHBaseViewController.