Minor associated objects fix

Associated objects use void pointers for their keys. Attached to the pull request is a good way to guarantee uniqueness (hat tip to Mike Ash for showing this to me first).