Fixed missing argument error in hook_init