I'm not sure `hook_init()` is the best place for this. @rfay do you have thoughts on this?