Add functionality to support callbacks on requests