Fix loading extensions.