Splits auto wiring into two phases.

This allows to use the instantiated fields during onInitialize().