Consistently declare functions as static