Remove an unused variable
typehint the setSessionMap method