Adding provisions for saving settings. */