docs: function validateType(type, value) {
  	var numberRegex;
  	switch (type.toLowerCase()) {
  		case 'integer':
  		case 'int':
  			numberRegex = new RegExp('^[-+]?[0-9]+$');
  			if (numberRegex.test(value)) {
  				return parseInt(value);
  			}
  			else {
  				throw new InvalidInputError(value + " wasn't of type " + type);
  			}
  			break;
  		case 'number':
  		case 'float':
  		case 'double':
  			numberRegex = new RegExp('^[-+]?[0-9]*([\.,][0-9]+)?$');
  			if (numberRegex.test(value)) {
  				return parseFloat(value);
  			}
  			else {
  				throw new InvalidInputError(value + " wasn't of type " + type);
  			}
  			break;
  		case 'string':
  			//Anything is a string
  			return value;
  		case 'path':
  			// A path that may be relative or absolute. We should parse this into an absolute path
  			if(path.isAbsolute(value)) {
  				return path.normalize(value);
  			}
  			return path.resolve(process.cwd(), value);
  		default:
  			return value;
  			break;
  	}
  }