Added before queue to contexts