Fix Hook inherited method using class hooks