Implementation of attributes for types. Should classes have the same field?