properly build checked_classes