Added API class.