Add extension directory.