Implemented complex class-based condition translation.