adaptation to use Object.defineProperty in es-CO