reorganized attrs. section on directive