Changed enum registration to $$enum property.