Remove excessive code from docs