Fixes subscribe to message event and examples.