restore one method in AbstractModule as it's not clear what it does (in case of multi-file packaged module descriptor), so that it's better not to migrate it before we make this clear