Moved #chain into the Process module