Added purity transform pass flag to parse mode