Added mode setting.

[#57444056]
Self-review