Added support for onKeyUp events.
Touched up some javadoc.