Setup validators with autofac.