Common utility methods and classes shared between mods