Protect objects from overzealous optimization.