Use for_ instead of a pattern match.