Removed the hooks, moved the markdown and JSON file generation into an overridden generate method.