api06: Move version-checking into the models, raising an exception on mismatch