Remove an old helper that we're no longer using.

The code using this helper was changed in #222 and this is no longer referenced anywhere else.