Added inspectors.models.callback function (to alter the query)