Added setTab to different classes