added comments about indexing for generic objects.