Autofac dependency resolver extension.