Made traits external dependency