Optimizing coerce_from_persistence