Fixed some warnings that would show up if the plugin was not connected to the API yet.