Fixed possible PIEAE during wrong caches in stubs, which were based on immutability of getPsi.