pseudoclass serialization