Fix loading dependencies.