Extracted method from data clump and moved into Preferences class.