You can use advancement materials to advance your heroes' classes. After advancing a hero's class to the limit, they can be transferred to other classes. When classes are advanced to a certain level, they will be considered mastered.