Use &'self str instead of raw char pointer in ModEntry