Fix the pet and Markov plugins.