Change name to QueryTemplate