Mode transition with parameters.