Fixed constructor auto-wiring.
Added ChainSingletonDependencyResolution.
All templates compile outputs.