Added some methods to 'vote' and 'session' models.