identify top-level class declarations