Solve issue #1: Create dom.Attr interface