Make input ports optionally persistent.