Add support for multiple input/outputs at the same time.