Fixed some bugs on the Class page.