Add helpers to models.