Filters and cleanup.