Added mode setting.

[#57444056]