Allow setting of tags and collections attributes

Tested-by: Mark Somerville <mark@crocodile.is> [Arch, MRI 2.1.4]
Signed-off-by: Mark Somerville <mark@crocodile.is>