remove Hasher and other unused code