Add a filter for container classes