Made render method private.