For example, given the following input: ``` javascript function TestClass() {} TestClass.prototype.aMethod = function() { return 'returnValue' }; TestClass.prototype.nested = new TestClass() const context = new TestClass() ``` the following, ``` javascript const template = Handlebars.compile('{{nested.aMethod}}') template(context, {allowProtoMethodsByDefault: true}) ``` should yield `'returnValue'`. Instead, it yields `'undefined'`. PR with failing test-cases submitted: #1859.