Added the @wraps decorator to the recently introduced sharedmethodcache to have it preserve docstrings.
@wraps
sharedmethodcache