Implement AutoMapper support.