Add back static generation feature.