Small refactor of the CachedList type.

Reduced visibility of members and camel-cased variable name.