Removes NonUniformScalar encoder.

#1479