Fix generator dependencies.