Using ObjectToTypeConverter base class instead of interface to reduce code duplication.