Adding the callback to the method signature