KCINFR-979: autowire generators

Can you make this protected?