Fleshing out the API class a bit.