Added attributes to preferences