Miscellaneous fixes and docstring for ExtractTask.