Fixed hex parsing: issue #26.