Added communication to API.