Updated Di\Definition\Generator, optional when dirs no exists