Added mocked mode selection.