Use Object.defineProperty to safely get the property definitions