Begin adding exception handling.