The default ProjectHook class you specify as a template for new projects must be based on a ProjectHook class.