Introduce abstract ndex command