Removed unneeded getTransformerClass function from the query helper