'Returns the codes as a list of instructions'

@classmethod
def codes_list(cls):

    if hasattr(cls, u'codes'):
        codes_list = [cls.codes]
        if isinstance(cls.codes, list):
            codes_list = cls.codes
        return codes_list
