Stop assuming that Attr inherits from Node

This addresses issue #244.