Added a strict check that hook_menu returns an array