Added messages to API