Fix switch pipeline prototypes.

Reviewer: @rlane