Invalid redefinition of attribute '%1!s!' in type '%2!s!'. Must be of a type which is a valid restriction of the corresponding ...