Fixed setReadOnly. Silly me.