Some tidying up around processes