accommodated deprecation of AttributeKey instantiation via constructor