Call hasOwnProperty in .extend