I would suggest we move the callback inline. There is no reason to have it separate given that it is only used once.