Replace read and write attributes, for attributes accessors and instance variables