Added open_base_dirs option.