@adam-vessey I hear what you're saying. In the end, I couldn't move the logic into `hook_init()`, because the named constant had to stay outside of the function and thus, couldn't take advantage of the decision-making code within. I found a similar option that also gets rid of the global variable that you mentioned. It works on my end and just passed Travis CI as well.