Added basic voting functionality.