Add pause feature.