Minor tweak to scanner API
Bug 386449: support custom SpaceModule filtering in injected tests