Changed how plugins are handled.