Could reduce a lot of event noise that will be generated here by making on setReadOnly call passing in an object.