def latest_version(cls, *args, **kwargs):
        """
        Return the class of the latest version of the BMDS. If additional
        arguments are provided, an instance of this class is generated.
        """
        cls = list(cls.versions.values())[-1]
        if len(args) > 0 or len(kwargs) > 0:
            return cls(*args, **kwargs)
        return cls
def latest_version ( cls , * args , ** kwargs ) : cls = list ( cls . versions . values ( ) ) [ - 1 ] if len ( args ) > 0 or len ( kwargs ) > 0 : return cls ( * args , ** kwargs ) return cls
Return the class of the latest version of the BMDS. If additional
        arguments are provided, an instance of this class is generated.