Preparing for the session.