Make functions static (where possible) to reduce code size (trivial).