allow session config to be adjusted in Libraries::add() call