Remove duplicate declaration of setOutput method