Merge settings with functions