Thanks for your contribution, very much appreciated!
I cannot answer your question about custom boxes and modules, but I asked Harald to update the language definitions documentation which then might provide the information you need.
Regards,
Nick
What is the Matrix? The answer is out there, and it's looking for you, and it will find you if you want it to.