Updates injection syntax for injecting the session.