Unify PBLite and PBObject logic.