Added support for multiple invocations of process.