This is the only API call in this file that verifies that the callback id is an int. Is it worth doing this for all API calls?