Simply calling scan selects the whole package, rather than the local __name__.