fixed bug with detection of inherited prototype methods on object literals used as maps