makes appropriate changes to support the new Plugin interface