Remove non-classy API for Hash.