Added feature to pass parameters to a plugins render() method