diff --git a/src/Resource.js b/src/Resource.js
index <HASH>..<HASH> 100644
--- a/src/Resource.js
+++ b/src/Resource.js
@@ -16,6 +16,7 @@ var EventEmitter = require('eventemitter3'),
  * @param [options.loadType=Resource.LOAD_TYPE.XHR] {Resource.LOAD_TYPE} How should this resource be loaded?
  * @param [options.xhrType=Resource.XHR_RESPONSE_TYPE.DEFAULT] {Resource.XHR_RESPONSE_TYPE} How should the data being
  *      loaded be interpreted when using XHR?
+ * @param [options.extra] {object} Extra info for middleware.
  */
 function Resource(name, url, options) {
     EventEmitter.call(this);
@@ -79,6 +80,13 @@ function Resource(name, url, options) {
     this.xhrType = options.xhrType;
 
     /**
+     * Extra info for middleware
+     *
+     * @member {object}
+     */
+    this.extra = options.extra || {};
+
+    /**
      * The error that occurred while loading (if any).
      *
      * @member {Error}
Sometimes middleware needs extra info to parse the file. Required for retina and compressed textures support in pixi.js