Added killing of blocks on block barrier exit.
Changed scoped object infrastructure.