Using try for invalidation callbacks.