Added hashcode fix to local mode.