Add scheduler messages object to the API.
Update scheduler API - messages object.