Move DI setup into it's own method so Configuration method is legible.