Added a mapping for AutoMapper.