Helpers for getClass and identityHashCode

Why are you removing this? Shouldn't this be kept so that the actual `getClass` implementation can be removed?