Strengthened exception-safety guarantees.