Properly declare functions as static