I replaced it with `wraps` which has exactly the same behavior. http://docs.python.org/2/library/functools.html#functools.update_wrapper