Added ability to extend prototype object for all the built nodes.

Closes #16.