Add send message method, add sync method, remove other logs