Add attributes for views