Support for "Revenue" type in TypeFactory (plus test)