As types are tied to a schema, they don't get along very well with pl/proxy. Do not use them for the service_type.