Added a bunch of API calls