Private function, remove or hide, use only in cpp file.