Add tee and replicateM