Generics to do ERPObject converting.