I can't work out what it's wanting me to put in there.
It is complaining that the . in front of the functions is not in the right place, because, most likely, you have not created an instance of a class that you called dht.
Posting ALL of your code IS important.