Change valid method to classmethod
Abstract SetAttribute