Restore val initilization. 3rd party module may not initialize val.