You should use the directory_service_model for the queryobj, otherwise people setting up mr will see an error because the directoryservice table has not been added to the db.