There was no reason for the `_clearCachedHints()` function to be in this closure, so I moved it out.