We've been doing attention exercises with my dog for a while now. When at home or on a walk he does very good. Paying attention to me, following me, etc. When we go to obedience classes though, he looses all attention and just wants to go and sniff, hump, play, roll with every dog in there. Any suggestions in how to train him to focus even in such places?