Add class to serialise prevalues