BUG: locally declared modules need not be part of `dependencies` list.