Fix parameter for summarizer and two lines from copy-pasted code.