Remove redundant widget registration functionality.

This is already provided by the dojo toolkit.