Autofac registration change, fixes issue #160