Simplify directories construction.