Avoided a few compiler warnings in the plugin build.