Reinstating this PR - https://github.com/livekit/livekit/pull/1548 Will use extended types in other places too over time.