Added lifetime scopes to autofac container.