Add automatic doc generation.