getConfig is now a static method on the session