Converted to .NET 4.5 and Autofac 3.1.1