Added deep freezing of values.

[#57444056]