Rely on isClass to rethrow exceptions when anon definitions fail