Update library to allow V2 usage.
Update library to allow V2 usage.