Added DEPRECATION comments to functions that have moved into Session as static functions.