Fixed public functions that needed to be static.