Add callbacks to models.