Add ninja and replicate to parser, desugarer, resolver and uniques