Adding PBB parsing code