Make some functions which aren't used outside their declaring source file