Added BarAPI support.