Remove duplicated code in favour of a helper (which can be further shifted onto a model or status-changer later)