Implements voting feature.