Fix incomplete implementation of MergeableClassMetadata