improved sema for declaration attributes