Updated to use `params` from recent WirePattern.