Do not change the service map inplace.