Fixed hooks to match user_guide document