Rewrite SetAttribute in the new style, make it use WirePattern and add tests.