Clear uses section.
Refactored FrontendFilter::generateClearAll() to reduce cyclomatic complexity.