Adding method to attribute set