[Scaffold] findModels now filters out inner classes.