Replace some of directives to simpler filters.