adding support for using different queryset and dmlquery classes on a model