Minor exception handling.