* Fixed a small bug in handles code.

* Fixed a bug in session which made using as a library a little non-intuitive.

BUG=
R=amoser@google.com

Review URL: https://codereview.appspot.com/103900043