Replace QueueContext::class with class name for PHP 5.4 compatibility