Switch to Core/defineProperties.