Add hook-into-modes and add-to-hook macros