Sorry, got confused by this. The callback argument isn't actually used in the code, it's using the options.success and options.error correctly.