The `FromHexStr` trait is used to parse integer-like types, however we can achieve the same using inherent methods. Move the hex parsing functionality to inherent methods, keeping the same behaviour in regard to the `0x` prefix.