Removes arithmetic encoder.

#1479