Import AlreadyFinalized instead of exceptions.