Improve the design document, update diagrams.