def __getattr__(self, name):
<EOL>if '<STR_LIT>' in self.__dict__ and hasattr(self.fields, name):<EOL><INDENT>return getattr(self.fields, name)<EOL><DEDENT>else:<EOL><INDENT>return object.__getattribute__(self, name)<EOL><DEDENT>
This allows us to access self.fields list methods like append or insert, without
having to declare them one by one