Added equals(), hashCode(), and toString() to Attribute.
Added support for attributes to Region.