Isolate directory changes.