Ensured that names passed to generalHash() are strings.