Fix initialization errors.