Applied smart pointers to Mod related classes