Added contextual support for object method calls (removed extraneous console.log)