Basing API of mock API.