attributeSet in constructor is unused.