Added optional 'writer' subs to set_attribute for when you need to do magic when setting attributes.
Pushing to CPAN as 0.12.