Use the new API to avoid duplicating code in the RunningProcessesModel.
This feels a bit nicer and make it possible to reuse this in other places as well. :^)