Remove the processId from ProcessCommand, and allow user to set the processId when necessary.