refactor(interception): make some helper functions
refactor(interception): make some helper functions

This is unlikely to be the final form that these take, but I just want
to make the main body of the `switch` a little more concise.

wincent/wincent,wincent/wincent,wincent/wincent,wincent/wincent,wincent/wincent,wincent/wincent,wincent/wincent,wincent/wincent