Add directory fragment implement