Fixed problem with generics in Guice, fixed problem with closed Session