It's not really a safe operation to modify `ModEntry`, so this would probably be better encapsulated with `*mut ModEntry`