This almost calls for creating a `FrameState` type with a `setHint` method. But I don't think that's necessary for now.