Prevent scanning of modules that are not in the current reactor, and simplify the API usage for scanning in a reactor scenario.