Import protocol_emulate