Create new ApiBase class.