Fair enough.  It's simple enough to move all these constants to module scope as you suggested, and that will be better either way.