Add conversion of rational numbers.