Add main class of plugin.