Removing directives not used.