No need for getattr on this line:  self.position = int(self.system.position)