Replaced ad-hoc process.ml with Async Process.