Add runtime support for STM Barrier class