Port changes to valuation, _valuation, and normalization to families code.