Removed unused code copied from the Evaluator plugin.