Pluralize stub error class name.
Extract service configuration to allow to specify URI from outside of the service.