Added attributes to preferences
Merge pull request #13 from tomdepplito/add_preference_attributes

Added attributes to preferences