Add .all function and basic indexes.