Added closure feature.