Shouldn't these all be `toInt`? Hashes are ints...