Changed all module functions and variables to static.