Write the design document.