Implemented removal of theme mapping upon session removal.