Protect against empty values
Add a getSetting method