[lang] Support for attributes