Add actions and fix some bugs in all models.