Use PreviewModule for gendeploy command.