Add tpl inputs and outputs.