Use an emitted event instead of accessing internals.