Basic API Framework.