Change class to API.