TypedProperties & Preferences: Added 'contains' and getters & setters for Enum.