Fix dependency errors.