Add new class BarrierComplex