A quiet word with the class instructor before the class starts to let them know you are pregnant would help too. I kept going to the gym for quite a while, was doing pump classes up until after 7 months.