Reduce code duplication for server->get operations.