surface::Enabled() should set attribute, not class