* @return {Promise} A promise that is resolved with a {PDFPageProxy}
      * object.
      */
-    getPage: function(number) {
+    getPage: function PDFDocumentProxy_getPage(number) {
       return this.transport.getPage(number);
     },
     /**
      * @return {Promise} A promise that is resolved with a lookup table for
      * mapping named destinations to reference numbers.
      */
-    getDestinations: function() {
+    getDestinations: function PDFDocumentProxy_getDestinations() {
       var promise = new PDFJS.Promise();
       var destinations = this.pdfInfo.destinations;
       promise.resolve(destinations);
      *  ...
      * ].
      */
-    getOutline: function() {
+    getOutline: function PDFDocumentProxy_getOutline() {
       var promise = new PDFJS.Promise();
       var outline = this.pdfInfo.outline;
       promise.resolve(outline);
      * available in the information dictionary and similarly metadata is a
      * {Metadata} object with information from the metadata section of the PDF.
      */
-    getMetadata: function() {
+    getMetadata: function PDFDocumentProxy_getMetadata() {
       var promise = new PDFJS.Promise();
       var info = this.pdfInfo.info;
       var metadata = this.pdfInfo.metadata;
       });
       return promise;
     },
-    destroy: function() {
+    destroy: function PDFDocumentProxy_destroy() {
       this.transport.destroy();
     }
   };
      * @return {PageViewport} Contains 'width' and 'height' properties along
      * with transforms required for rendering.
      */
-    getViewport: function(scale, rotate) {
+    getViewport: function PDFPageProxy_getViewport(scale, rotate) {
       if (arguments.length < 2)
         rotate = this.rotate;
       return new PDFJS.PageViewport(this.view, scale, rotate, 0, 0);
      * @return {Promise} A promise that is resolved with an {array} of the
      * annotation objects.
      */
-    getAnnotations: function() {
+    getAnnotations: function PDFPageProxy_getAnnotations() {
       if (this.annotationsPromise)
         return this.annotationsPromise;
 
      * @return {Promise} A promise that is resolved when the page finishes
      * rendering.
      */
-    render: function(params) {
+    render: function PDFPageProxy_render(params) {
       this.renderInProgress = true;
 
       var promise = new Promise();
      * For internal use only.
      */
     startRenderingFromOperatorList:
-      function PDFPageWrapper_startRenderingFromOperatorList(operatorList,
-                                                             fonts) {
+      function PDFPageProxy_startRenderingFromOperatorList(operatorList,
+                                                           fonts) {
       var self = this;
       this.operatorList = operatorList;
 
     /**
      * For internal use only.
      */
-    ensureFonts: function PDFPageWrapper_ensureFonts(fonts, callback) {
+    ensureFonts: function PDFPageProxy_ensureFonts(fonts, callback) {
       this.stats.time('Font Loading');
       // Convert the font names to the corresponding font obj.
       for (var i = 0, ii = fonts.length; i < ii; i++) {
     /**
      * For internal use only.
      */
-    display: function PDFPageWrapper_display(gfx, viewport, callback) {
+    display: function PDFPageProxy_display(gfx, viewport, callback) {
       var stats = this.stats;
       stats.time('Rendering');
 
     /**
      * Stub for future feature.
      */
-    getTextContent: function() {
+    getTextContent: function PDFPageProxy_getTextContent() {
       var promise = new PDFJS.Promise();
       var textContent = 'page text'; // not implemented
       promise.resolve(textContent);
     /**
      * Stub for future feature.
      */
-    getOperationList: function() {
+    getOperationList: function PDFPageProxy_getOperationList() {
       var promise = new PDFJS.Promise();
       var operationList = { // not implemented
         dependencyFontsID: null,
     /**
      * Destroys resources allocated by the page.
      */
-    destroy: function() {
+    destroy: function PDFPageProxy_destroy() {
       this.destroyed = true;
 
       if (!this.renderInProgress) {