fix: wrap Object.defineProperties

Closes #24