Handle interpreter messages more flexibly #50