The attributes CONTRIBUTION.versions,
VERSION.contribution, VERSION.version_repository_id should be
defined to be of type OBJECT_REF rather than OBJECT_ID, since this
makes the direction of referencing clearer, and OBJECT_REFs
include the type name of the referenced object.