Cleanup following the change in `TTypeKind`
when insideRLocksModule
instead of
when compiles
XDeclaredButNotUsed