defs.define_constant('Mongoid::Criteria::GeoNear') do |klass|
    klass.inherits(defs.constant_proxy('Object', RubyLint.registry))
    klass.inherits(defs.constant_proxy('Mongoid::Contextual::Command', RubyLint.registry))
    klass.inherits(defs.constant_proxy('Enumerable', RubyLint.registry))