Fixing some warnings while loading.