Make render_output method private