Fixed duplicate use of class