Good point. I'd wager that these routines belong in Vumi core, so I've opened https://github.com/praekelt/vumi/issues/727 there to track this task.