Factorise system.runFinalization.