Refactored execution of configured request callbacks into its own function