Made preferences available in read only documents