changed hash variable in classes and interfaces to internal Object.hashCode() method