Add markov chain plugin