Accepts Session class to be provided by module