Restore MonadReader instance for ModuleGen