Fix coding style for internal function