Rename hooks to magic