Moved newt() into Scope.prototype and simplified Reference representation