Make all functions static and remove a little dead code