Cleans up unformatted code.

Removes hexToBuffer support from 0.4 days.