Add a version attribute so we no longer have to compare class names.