Add getProvider function to Queue