Set hooks to public