<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def versions(mode=None, add_pckg=None, ncol=4):
 r"""Old func-way of class `Versions`, here for backwards compatibility. ``mode`` is not used any longer, dummy here. """

    # Issue warning
    mesg = ("\n    Func `versions` is deprecated and will " +
            "be removed; use Class `Versions` instead.")
    warnings.warn(mesg, DeprecationWarning)

    return Versions(add_pckg, ncol)