hasOwnProperty instead of in operator.