Work on exception handling.