Fix incoming handler

repl_helper was referenced without using self