Add code for hasMany/saveAll without test