KCINFR-979: autowire generators

You did not need to add setter and getter for this?