Added base API class.