Gets rid of all usages of beforeSave/Delete hooks in abstract model classes.