Added implementation for plugin class.