Simplified hook definition pattern