Distinguish input and output paths.