Edited index to remove functools