Add @scope for class attributes