Fix setting of 'outDir' & update docs.