Make TagAPI and BarAPI optional