This is the main plugin.