def method_missing(name, *args, &block)
      if klass.respond_to?(name)
        klass.send(:with_scope, self) do
          klass.send(name, *args, &block)
        end
      elsif CHECK.respond_to?(name)
        return entries.send(name, *args, &block)
      else
        super
      end
    end
def method_missing(name, *args, &block)
      if klass.respond_to?(name)
        klass.send(:with_scope, self) do
          klass.send(name, *args, &block)
        end
      elsif CHECK.respond_to?(name)
        return entries.send(name, *args, &block)
      else
        super
      end
    end
Used for chaining +Criteria+ scopes together in the for of class methods
 on the +Document+ the criteria is for.

 @example Handle method missing.
   criteria.method_missing(:name)

 @param [ Symbol ] name The method name.
 @param [ Array ] args The arguments.

 @return [ Object ] The result of the method call.

 @since 1.0.0