updated the example plugin with a function to register communications with an interpreted session