Added DirAttribute.