class detection.

Basic `class` feature detection.
duh!