Some refactoring. SendMessage now returns a SendMessageResponse.