minor API fixes to the v2 release