I suggest to take your lovely pup for a run before training... or a walk whichever is more convenient... then let him interact with the other dogs before training.
Do you train with food or toys? Because you can use them as a distraction from the other dogs and reward... the key is to keep training light & fun... especially in a class scenario where it goes for 30-60min sessions... lots of in between plays while your instructer is talking etc...
I hope this is of some help to you?
A dog is the only thing on earth that loves you more than he loves himself