Remove duplication in STHashes by using generics.