Use modern API to avoid exposing LiveInterval internals.