Added index support to external directories.