Move some methods out of shims' ShimUtil and into Schema.