Add support for RTD.