Simplified the setting construction API a bit.