Updated to reflect changes to the PluginContext class.