Starting to flesh out an API