Added proper support for plugin parameters.