def call_handlers(self, msg):
<EOL>self.message_received.emit(msg)<EOL>msg_type = msg['<STR_LIT>']['<STR_LIT>']<EOL>if msg_type == '<STR_LIT>':<EOL><INDENT>self.input_requested.emit(msg)<EOL><DEDENT>
Reimplemented to emit signals instead of making callbacks.