Small weakhashcache changes