Remove unneeded old directives