Finished functionality work on basic API.