Got rid of dependency on specific version of AutoMapper.