core: implement tracking of module pipe.