That will still work, registerReadOnlyAttribute/RegisterReadWriteAttribute only effect how this is exposed to the model/CLI.
you can still modify attribute as much as you want internally, just not by calling :write-attribute :)