Classes common to gbif services.