Added interfaces and classes for automapping #175.