Add an overridable method to set the transformer class for the query helper