Add Shramov's distance measure plugin