Adds query model factories