Fixes directive's attrs notation.