rework plugin handling to access parameters via declareParam, getParamValues, setPara...