Add I/O redirection.