grextras: save copypaste in Common.i with for attr loop