Change relationship between main program and plugins.