class Spider is Pet { method new(*%opts) { self.bless(*, |%opts, legs => 6); } }