adding a class for Mod, Reference and Logger