Add vote functionalities.