Revamped API messages so that they can be dynamically added to the application instead of having to be predefined.