Fixed private field name conflict in traits