change read only attributes to use attribute reader