V2.0.0, Replace defineProperty with setProperty