Less fragile serialization.