remove hasOwnProperty from methods