Integrated ProcessModel changes from koolkode/process.