Use Hashtable* instead of void* in a few places

For some reason AAs were passing around a Hashtable* as a void* for no reason I could discern. This replaces a few instances of that with a more type-safe solution.