Fix obsolete attribute syntax in definitions