Add SetDefaultVal func; replace all vars set with call to this.