Hook inherited method using class

It was failing when trying to create a hook for an inherited method. 

Example any viewDidAppear failed unless the custrom ViewController reimplement that method.