Improve message handling capabilities and lay the foundation for calling API methods.