Shortcut for creating and registering
        a :py:class:`wiring.providers.FunctionProvider`.

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