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