Perf Improvements for PathObserver.defineProperty