model as typed pipe.