Add rational type.