Adds associations between topic and vote models.