Revert "Fixes issue when using defineProperties we were passing the array of properties instead of the property to the 'property' function"

This reverts commit 901a36e7e3b4c2ea1df123eaa7a47beddafd7397.