added attribute property to Dependency