Add a luadoc usage example.
Two more need doing.
Add luadoc usage examples.
Luadoc for the low level register functions.

These should all be local and hidden.