More documentation
Now using the onsubmit_callback
Prevent useless generation of definitions