Made method private as it is not used anywhere.