Add make-input-port, make-output-port to TR