Added hex parsing.