[XF & MC] support setter injector
[XF & MC] Extract Chef class for refactoring