Removes unused directive