Mark a local helper function static