Added an API.