Allows module hooks to return correctly