IoC for non interface conforming dependencies.