Documented directorySearch and corrected typos.