v1 and v2 APIs: make sure to set up fields

Since these are properties on the classes, inheritance doesn't
bring them in.