Moving PathTrait to HasDataTrait