Better URL hash decoding.