Query server implemented.