Extended PluginContext to support logging.