Removed repeated element class assignment.