def bind(self, func):
        """
        Take a function and create a bound method
        """
        if self.__methods__ is None:
            self.__methods__ = {}
        self.__methods__[func.__name__] = BoundFunction(func)
Take a function and create a bound method