Add automatic documentation.