Add support for Messages API.