Fixed automatic generation of docs.