Changing plugins from ChoiceOptionFunction to StringFunction.