added an "options" parameter to simplify_indexed(), for future extensions