Greatly simplify the cast-for-effect.