docs: function(stylesheets) {
  		//Iterate over all stylesheets, embedded and remote.
  		for(var stylesheetIndex = 0; stylesheetIndex < stylesheets.length; stylesheetIndex++) {
  			var sheet = stylesheets[stylesheetIndex];
  
  			if(sheet.tagName === 'LINK') {
  				if(sheet.getAttribute('data-skrollr-stylesheet') === null) {
  					continue;
  				}
  
  				//Test media attribute if matchMedia available.
  				if(window.matchMedia) {
  					var media = sheet.getAttribute('media');
  
  					if(media && !matchMedia(media).matches) {
  						continue;
  					}
  				}
  
  				//Remote stylesheet, fetch it (synchrnonous).
  				content = fetchRemote(sheet.href);
  			} else {
  				//Embedded stylesheet, grab the node content.
  				content = sheet.textContent || sheet.innerText || sheet.innerHTML;
  			}
  
  			if(content) {
  				contents.push(content);
  			}
  		}
  
  		//We take the stylesheets in reverse order.
  		//This is needed to ensure correct order of stylesheets and inline styles.
  		contents.reverse();
  
  		var animations = {};
  		var selectors = [];
  		var attributes = [];
  
  		//Now parse all stylesheets.
  		for(var contentIndex = 0; contentIndex < contents.length; contentIndex++) {
  			content = contents[contentIndex];
  
  			parseAnimationDeclarations(content, animations);
  			parseAnimationUsage(content, selectors);
  			parseAttributeSetters(content, attributes);
  		}
  
  		applyKeyframeAttributes(animations, selectors);
  		applyAttributeSetters(attributes);
  	}