switched to autofac, but does not resolve #8