Added new return values to the API