Restores method called via reflection