CRITICAL FIX: added a missing hash method