Fix backwards compatibility issue with the General::hash function. It now listens for algorithm again.