Trace returns and exception handling.