Support more types in the check_requirements function