Make index remotely configurable by keeping it off the module scope.