Revert hasOwnProperty removal.