Add vote method to answer model.