Updated the API interface