Improved rate-agnostic class checking.