Register the Type
To use the BankAccount type, you must register it with the type system. Then, when an incoming stream contains a BankAccount, it can be manufactured from the associated TypeFactoryMethod.