Add support for TargetMachine class