Use getInput/getOutput from AbstractOperator to simplify code