Trying to do the initial work on the API.