Fixed the applying of Roles/Traits