Added javadoc to the static methods in Session.