docs: function getMetadataPage(options) {
  	return new Promise(function(resolve, reject) {
  		// Find out list of proxy generators
  		fs.readdir(__dirname + '/../proxies/', (err, files) => {
  			if (err) {
  				return reject(err);
  			}
  
  			const proxies = files
  				.filter(f => f.endsWith('.ejs'))
  				.map(f => f.substr(0, f.length - 4));
  			const images = [
  				path.join('..', 'static', 'event.svg'),
  				path.join('..', 'static', 'type.svg'),
  				path.join('..', 'static', 'snippet.svg'),
  				path.join('..', 'static', 'method.svg'),
  			];
  			const jsFiles = [path.join('..', 'static', 'prettify.js')];
  			const cssFiles = [path.join('..', 'static', 'prettify.css')];
  			const templateData = {
  				metadata: options.service,
  				ejs,
  				proxies,
  				isStatic: options.isStatic,
  				root: options.root,
  				images: getFilesContent(images, 'base64'),
  				js: getFilesContent(jsFiles),
  				css: getFilesContent(cssFiles),
  			};
  
  			// Render the metadata template
  			ejs.renderFile(
  				__dirname + '/../templates/metadata.ejs',
  				templateData,
  				{ _with: false },
  				(err, html) => {
  					if (err) {
  						return reject(err);
  					}
  					resolve(html);
  				}
  			);
  		});
  	});
  }