stamp hashcode & set caching, and minor updates