Make this func as `static` instead of extra declaration.