All generated queries uses finalizeQuery method