add allowing redefinition of attrs