Add string hashes generator.
Some fixes.