Removed call to deprecated method dispatch_get_current_queue.