This is perfectly safe, due to state thread scopes, yet currently the docs suggest that people use `unsafeFreeze` manually.