I wrote it this way originally but ended up changing it to be a method on *Word instead. Dunno which is better but I don't really care so I'll leave this.