It seems that the is rw trait on a class is interpreted as is $classname (which means inheritance), and actually I'm not sure if the is rw trait on a class is even in the specs (Update: it's an example in the spec, but I'm not sure what it means).
Try it without the first is rw instead. The ones on the attributes should be fine.