Switch all anchor directives to the new style.