Revert "Заменени използвания на ObjectReference->instance с getInstance()"

This reverts commit 338c025c320a3cc18357c9510d383760c0c8cf1a.