Move Comment's logic to model.