Basic idea of API.