Added 'useHash' option