@classmethod
def convert_to_major_ver(cls, version):
    """
        Converts the a version number into the major version.

        :param int version: Version number to be converted.
        :return: Major version.
        :rtype: int
        """
    return version & 255
