Optimize code and re-generate documentation.