hack(directives): Work around dartbug.com/13556