Fix api for emulator and link classes