Use the global RST_EXTS variable.