Cache cleanup.
Flatten startup.