improved static type syntax: `[]int  self.x = XXX`.
allow subclasses to call parent class methods (extend).