Non-public classes can now be constructed by DI