quartz: Make some functions and variables static.