Simplify exception handling and utilities.