Added methods to API.