extract descriptions into top-level classes