{
package BinaryTree;
- use metaclass 'LazyClass' => (
- ':attribute_metaclass' => 'LazyClass::Attribute'
+ use metaclass (
+ ':attribute_metaclass' => 'LazyClass::Attribute',
+ ':instance_metaclass' => 'LazyClass::Instance',
);
BinaryTree->meta->add_attribute('$:node' => (