Adds readonly behavior