class detection.

Basic `class` feature detection.