Move mergeValues under settings prototype