Better handling for undefined settings

What about merging the undefined value mechanism I proposed in my email?