@staticmethod
def decode_version_nr(version_nr):
    """ Decode an encoded version number to a 3-tuple. """
    major = version_nr >> 16
    minor = version_nr >> 8 & 255
    patch = version_nr & 255
    return major, minor, patch
