Added ping feature.