hasMany attributes can now be set(). Fixes #310