Add virtual constructor missing from #82

query_transformation_function is pure virtual class