Add table of attributes when building elements