Add some promises to the API