Unlint
Replaced To and Hex with implementations from bytestring-to