Support output directory.