gfx/skin/hook: introduced define_hooks! macro for convenience.