exporting add/remove-hook functions