[+] use event generation to generated doc, this clean the nucleus class