Adds hasMany hooks.beforeSave (#324)