Reordered and exported widthOf function to be customizable.
0.1.5