Generating types for sevice and service ports.