Cleanup and minor documentation fixes.

* Expanded a bunch of variable names.
* Removed subclassing through __extends__ on prototype object.