Added various barriers.