Use index in place of module names. ref #302