Implement votes model and cascade deletes.