setting the class attribute shouldn't overwrite defaults

[Delivers #84429682]