Add input/ouput ports