Add ability to add custom hooks