def register_resources(self, **resources):
        """
        Register resources with the ResourceManager.
        """
        for key, resource in resources.items():
            if key in self._resources:
                raise AlreadyExistsException('A Service for {} is already registered.'.format(key))

            self._init_resource(key, resource)
Register resources with the ResourceManager.