Fix typos in the ProcessFactory.