Fixed anchor to directives.