Workaround for recursive calls during Module instantiation