Added model methods.
Changed the field name containing the key string from value to key as it sounds more natural.