Remove unnecessary exception handling.