Add support for setting the CD flag.