Add input and output info.