Metadata fix for serialization.