Added the find_by_class function.