Removes unecessary directive link.