The start of a separate hex_utils module.