removed attrs from model trait