Caching reference to barrier.