Removing deprecation warning in SessionHelper. No more warnings in the source.