Updated BC API, some porting - mostly fixing name changes.