code: def register_function(self, specification, function, scope=None):
          
          self.register_provider(
              specification,
              FunctionProvider(function, scope=scope)
          )
docs: Shortcut for creating and registering
          a :py:class:`wiring.providers.FunctionProvider`.