Adds comments to receiveLocalEvents method