code: function(callback) {
  			if (!params.type) {
  				params.type = 'redis';
  			}
  
  			if (params.type !== 'redis') {
  				callback('Import type "' + params.type + '" is not supported!');
  				return;
  			}
  
  			callback();
  		}
docs: Check.