Make determining root dirs easier.