Add explicit exception handling, which is otherwise often an oversight.