Doc'd cache
Reversed cacheing logic
Fixed iterator specification