Adding defineProperty polyfill.