Fixed new hash API usage