Created hook handler base class.