Add Controller.getSession() and remove DependencyInjection object