Implemented hook subsystem.