Huge amount of actors

It doesn’t even work when it is compiled. The Actors are manually placed in the level. They are based on the same static mesh. How can I add a class to these actors?