Replace enabled flag with state attribute.