Don't throw exceptions when checking if a class is a user type.