Added `method` property to messages from the front-end