Remove redundant class attribute