@staticmethod<EOL><INDENT>def __read_byte_offset(decl, attrs):<DEDENT>
offset = attrs.get(XML_AN_OFFSET, <NUM_LIT:0>)<EOL>decl.byte_offset = int(offset) / <NUM_LIT:8><EOL>
Using duck typing to set the offset instead of in constructor