Add stat_name_mapper and whitelist options.