code: def __read_byte_size(decl, attrs):
          
          size = attrs.get(XML_AN_SIZE, 0)
          # Make sure the size is in bytes instead of bits
          decl.byte_size = int(size) / 8
docs: Using duck typing to set the size instead of in constructor