Basic API class setup.