Hooks can return undefined