Use hashes instead of arrays.