Minor changes to named child cache code:
- Remove list when empty
- Style improvements (I think)
- Added comments