Remove unused direct process code