Cleaning up code on decks model, tags model and user model.