Automated search through classes