<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def add_version(f):
 """ Add the version of wily to the help heading. :param f: function to decorate :return: decorated function """

    doc = f.__doc__
    f.__doc__ = "Version: " + __version__ + "\n\n" + doc
    return f