Add support for connecting to Simulator.