Adding trait to element