Add has_hex to repository