Fix duplicate trait definition