Update the registerWidget documentation

Closes #241