Added support for data types in the TTD emulator.