Changing the RestCallback interface