Added rational duration class.