I can switch to registering it everywhere, and like @clarle said, if no module system is available, then stick it on the `global`/`root` object.