Fixed documentation, and added validate_type_boolean for Boolean checking